/**
 * Created by weidong on 14-2-19.
 */
//ap_com_head
exports.constract_ap_com_head =function(action,apMac,gwIp,token) {
        var ap_com_head = "{\n\taction:\""+action+"\",\n\tapMac:\""+apMac+"\",\n\tgwIp:\""+gwIp+"\",\n\ttoken:\""+token+"\"}";
    return ap_com_head;
}
//ap_com_cont
exports.constract_ap_com_cont = function()
{

}

exports.constract_ap_com_ret_head =function(retFlag,reason){
    var ap_com_ret_head = "{\n\tFlag:\""+retFlag+"\",\n\treason:\""+reason+"\"}";
    return ap_com_ret_head;
}

exports.constract_ap_com_ret_cont = function(vnoId){
    var ap_com_ret_cont ="{\n\tvnoId:\""+vnoId+"\"}";
    return ap_com_ret_cont;
}